<form id="myform" method="post">
   <div>
      <input id="checkbox1" name="checkbox" type="checkbox" value="value1" checked="checked" />
      <input id="checkbox2" name="checkbox" type="checkbox" value="value2" />
      <input id="checkbox3" name="checkbox" type="checkbox" value="value3" />
   </div>
   <div>
      <input id="radio1" name="radio" type="radio" value="value1" checked="checked" />
      <input id="radio2" name="radio" type="radio" value="value2" />
      <input id="radio3" name="radio" type="radio" value="value3" />
   </div>
</form>
